package com.stq.request;

import cn.hutool.http.HttpUtil;
import com.alibaba.fastjson.JSONObject;

import java.util.HashMap;
import java.util.Map;

/**
 * 通信工具类
 * @author stqsht@163.com
 * @date 2020-01-23 15:58
 */
public class StqHttpClientUtil {

    public void get(String url){
        get(url,null);
    }
    public void get(String url, Map<String,Object> params){
        String s = HttpUtil.get(url, params);
        System.out.println(s);
    }


}
